Repository navigation
Ignore FALLBACK output when recovering laptop display - #10622
Closed
adamritter wants to merge 1 commit into
Closed
adamritter wants to merge 1 commit into
adamritter wants to merge 1 commit into
Conversation
Member
|
Automated duplication check: this pull request looks similar to #10586, which covers the same FALLBACK monitor exclusion. I keep that one open and close this one to consolidate review. If you feel this is the wrong decision, please open the PR again with a note on the difference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the last external monitor is unplugged while the laptop panel is disabled, Hyprland can create an active virtual
FALLBACKoutput. The external-monitor helper counts every active non-internal output as external, includingFALLBACK, soomarchy-hyprland-monitor-internal recoverreturns without clearing the disable flag. The laptop remains dark despite having no external display connected.Exclude
FALLBACKfrom the shared external-monitor predicate. This lets the existing recovery path re-enable the laptop panel while preserving detection of real external outputs, including mirrors.Reproduced on a running laptop session:
eDP-2was disabled andFALLBACKwas the only active output after unplugging the external display. Applying the exclusion and running recovery restoredeDP-2with DPMS enabled and workspace 2; a subsequent recovery kept it enabled. No compositor restart was needed. This was verified through live monitor state; no before/after screen capture is attached.Validation:
bash -nandgit diff --checkpass../test/all: CLI suite passed; shell suite reported six failing files. Four passed on rerun after providingOMARCHY_PKGS_PATH/OMARCHY_ISO_PATHand unsetting the inheritedNO_COLOR.locate-test.shpassed after moving aside the test-generatedbin/__pycache__(its source scan attempts to decode.pycfiles as UTF-8).network-qr-test.shstill exits at its automatic-interface case in this environment, and fails identically in a clean worktree of upstreama7030926. The monitor regression and existing monitor recovery tests passed in the aggregate run.